<template>
  <section class="todoapp">
    <TodoHeader></TodoHeader>
    <TodoMain :todoList="store.todoList"></TodoMain>
    <TodoFooter></TodoFooter>
  </section>
</template>

<script setup lang="ts">
import TodoHeader from "./components/TodoHeader.vue";
import TodoMain from "./components/TodoMain.vue";
import TodoFooter from "./components/TodoFooter.vue";
import useTodoStore from "./stores/useTodoStore";

let store = useTodoStore();
</script>